import request from '@/utils/request'

// 套间CRUD
export function getRoomList(params) {
  return request({
    url: '/administrator/Hotel/RoomList',
    method: 'get',
    params
  })
}
export function addRoomItem(params) {
  return request({
    url: '/administrator/Hotel/RoomAdd',
    method: 'post',
    params
  })
}
export function editRoomItem(params) {
  return request({
    url: '/administrator/Hotel/RoomEdit',
    method: 'post',
    params
  })
}

export function deleteRoomItem(params) {
  return request({
    url: '//administrator/Hotel/RoomDel',
    method: 'post',
    params
  })
}
